PHP For Dummies 2019 by dave willis

PHP For Dummies 2019 by dave willis

Author:dave willis [willis, dave]
Language: eng
Format: azw3
Published: 2018-12-16T16:00:00+00:00


Regular expressions in PHP

PHP has built in functions that allow us to work with regular functions. Let’s now look at the commonly used regular expression functions in PHP.

preg_match – this function is used to perform a pattern match on a string. It returns true if a match is found and false if a match is not found.

preg_split – this function is used to perform a pattern match on a string and then split the results into a numeric array

preg_replace – this function is used to perform a pattern match on a string and then replace the match with the specified text.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.